package com.common.servlet.util;

public class HTTPProtocolBase {

	// READ
	public static final String ACTION = "Action";
	public static final String CONTENT = "Content";
	
	public static final String ATTRIBUTE_NAME = "name";
	public static final String ATTRIBUTE_VALUE = "value";
	public static final String ATTRIBUTE_DATE = "date";
	
	// WRITE
	public static final char END_LINE = '\n';
	public static final char SPACE = ' ';
	public static final char END_ATTRIBUTE = '\"';
	public static final char CLOSE_TAG= '>';
	public static final String END_TAG = "/>";
	public static final String CDATA = "<![CDATA[";
	public static final String CDATA_END = "]]>";
	
	public static final String RESPONSE_TAG = "<Response";
	public static final String RESPONSE_END_TAG = "</Response>";
	
	public static final String CONTENT_TAG = "<Content>";
	public static final String CONTENT_END_TAG = "</Content>";
	
	public static final String ACTION_TAG = "<Action";
	
	public static final String ERROR_CODE_TAG = "<ErrorCode";

	public static final String ERROR_MESSAGE_ATTRIBUTE = "message=\"";
	public static final String ERROR_CAUSE_ATTRIBUTE = "cause=\"";
	
	public static final String VALUE_ATTRIBUTE = "value=\"";
	public static final String NAME_ATTRIBUTE = "name=\"";
}
